// ============================== 导出标识 ============================== //

export const minor = '任务中心'
export const sort = 10106

// ============================== 导出路由 ============================== //

export default {
  // —————————————————————————————— 任务 —————————————————————————————— //

  TaskPlan: {
    menu: { title: '任务计划' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/TaskPlan'),
  },

  TaskTemplate: {
    menu: { title: '任务模板' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/TaskTemplate'),
  },

  TaskRecord: {
    menu: { title: '任务记录' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/TaskRecord'),
  },

  // —————————————————————————————— 巡检 —————————————————————————————— //

  InspectionPlan: {
    menu: { title: '巡检计划' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/InspectionPlan'),
  },

  InspectionTemplate: {
    menu: { title: '巡检模板' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/InspectionTemplate'),
  },

  InspectionRecord: {
    menu: { title: '巡检记录' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/InspectionRecord'),
  },

  InspectionMy: {
    menu: { title: '我的巡检', notice: 'taskApp', noticeScope: '1' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/InspectionMy'),
  },

  // —————————————————————————————— 保养 —————————————————————————————— //

  MaintenancePlan: {
    menu: { title: '保养计划' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/MaintenancePlan'),
  },

  MaintenanceTemplate: {
    menu: { title: '保养模板' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/MaintenanceTemplate'),
  },

  MaintenanceRecord: {
    menu: { title: '保养记录' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/MaintenanceRecord'),
  },

  MaintenanceMy: {
    menu: { title: '我的保养', notice: 'taskApp', noticeScope: '2' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/MaintenanceMy'),
  },

  // —————————————————————————————— 保洁 —————————————————————————————— //

  CleaningPlan: {
    menu: { title: '保洁计划' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/CleaningPlan'),
  },

  CleaningTemplate: {
    menu: { title: '保洁模板' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/CleaningTemplate'),
  },

  CleaningRecord: {
    menu: { title: '保洁记录' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/CleaningRecord'),
  },

  CleaningMy: {
    menu: { title: '我的保洁', notice: 'taskApp', noticeScope: '3' },
    component: () => import(/* webpackChunkName: "Maintain" */ '@admin/views/Maintain/Task/CleaningMy'),
  },
}
